Skip to content

Gitignore SUMMARY.md signal file#790

Merged
rdimitrov merged 1 commit intomainfrom
gitignore-summary-md
Apr 22, 2026
Merged

Gitignore SUMMARY.md signal file#790
rdimitrov merged 1 commit intomainfrom
gitignore-summary-md

Conversation

@rdimitrov
Copy link
Copy Markdown
Member

Small follow-up to #785.

Problem

On PR #788's v0.24.0 run, `SUMMARY.md` landed on the branch alongside the skill's content commit (`42267da`). It shouldn't have — `SUMMARY.md` is a signal file the workflow's `Capture skill signal files` step is supposed to read + delete, not something to commit.

Cause

`/GAPS.md` and `/NO_CHANGES.md` are already in `.gitignore` for exactly this reason. `SUMMARY.md` was introduced in #785 but I missed adding the matching gitignore entry. `claude-code-action`'s `git add -A` during auto-commit then swept it up.

Fix

Add `/SUMMARY.md` to `.gitignore` alongside the existing signal-file entries. Matches how GAPS/NO_CHANGES are handled — skill writes to disk, workflow reads, neither ever hits a commit.

Current in-flight retry

Run 24787405392 (retry against PR #788) is still running as of this PR. It's using the workflow from `main` (which has the caps bump from #789) but the PR branch doesn't have the gitignore fix yet, so the retry's skill may commit another `SUMMARY.md`. The signals step's `rm SUMMARY.md` + commit-and-push's `git add -A` will clean it up in a deletion commit, so the final state is correct but the history is ugly.

After this gitignore fix merges, the user can optionally re-merge main into PR #788's branch for a clean future run; for any fresh Renovate PRs, the fix applies automatically.

PR #788's skill run committed SUMMARY.md to the branch alongside
its content commit (42267da) because /SUMMARY.md isn't in
.gitignore -- `git add -A` during claude-code-action's auto-commit
swept it up. The workflow's signals step reads and removes
SUMMARY.md, but only from the working tree; the commit that added
it sticks around.

/GAPS.md and /NO_CHANGES.md are already gitignored for exactly
this reason; SUMMARY.md was added in #785 but I missed adding the
matching gitignore entry.

With this in place, claude-code-action's `git add -A` will skip
SUMMARY.md, the skill still writes it to disk, the signals step
still reads + deletes it -- no commit involvement at all, which
is how GAPS.md and NO_CHANGES.md already work.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 22, 2026 15:38
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs-website Ready Ready Preview, Comment Apr 22, 2026 3:38pm

Request Review

@rdimitrov rdimitrov merged commit 2b9a32b into main Apr 22, 2026
3 checks passed
@rdimitrov rdimitrov deleted the gitignore-summary-md branch April 22, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants